using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IKhuNhaServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:08/10/2010 51:08:46</para>
	/// <para>Class Name: IKhuNhaServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface IKhuNhaService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: KhuNha_ID</para>
		/// <para>Output: KhuNhaEntity</para>
		///</summary>
		[OperationContract]
		KhuNhaEntity SelectOne(int KhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhuNhaEntity</para>
		///</summary>
		[OperationContract]
		List<KhuNhaEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhuNhaEntity</para>
		///</summary>
		[OperationContract]
		List<KhuNhaEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: Save</para>
		/// <para>Input: KhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(KhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: KhuNhaEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		KhuNhaEntity SaveRet(KhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of KhuNhaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<KhuNhaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of KhuNhaEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<KhuNhaEntity> SaveListRet(List<KhuNhaEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: Update</para>
		/// <para>Input: KhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(KhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of KhuNhaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<KhuNhaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: UpdateMaKhuNha</para>
		/// <para>Input: NewMaKhuNha,KhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaKhuNha(string NewMaKhuNha,int KhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: UpdateTenKhuNha</para>
		/// <para>Input: NewTenKhuNha,KhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenKhuNha(string NewTenKhuNha,int KhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: UpdateGhuChi</para>
		/// <para>Input: NewGhuChi,KhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateGhuChi(string NewGhuChi,int KhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: UpdateTrungTamDaoTao_ID</para>
		/// <para>Input: NewTrungTamDaoTao_ID,KhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTrungTamDaoTao_ID(int NewTrungTamDaoTao_ID,int KhuNha_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: Delete</para>
		/// <para>Input: KhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(KhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 51:08:46</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: KhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int KhuNha_ID);
		#endregion

		#region Select join to TrungTamDaoTao functions
		#endregion

		#region Select,delete by KhuNha_ID functions
		#endregion

		#region Select,delete by TrungTamDaoTao_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END KhuNhaWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

